{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>广告</title>
    <link rel="stylesheet" href="{% static 'student/css/ad.css' %}">
</head>
<body>
<h1 class="tog">这是一个闪瞎眼的广告！</h1>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script>
    var h2obj = $(".tog");
    function f() {
        h2obj.toggleClass("tog");
    }
    setInterval(f, 1000);
</script>
</body>
</html>